﻿using ATHTaskList2012.Entities;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ATHTaskList2012.Mappings
{
    public class TaskMap : ClassMap<Task>
    {
        public TaskMap()
        {
            Table("Task");
            Id(x => x.Id);
            Map(x => x.taskname);
            References(x => x.username);
            Map(x => x.start);
            Map(x => x.end);
        }
    }
}